

class PersonalInfo {
  private String  firstName, lastName, email;
  private  int id;
  private double salary;

  public PersonalInfo(){
    this.id=0;
    this.firstName="";
    this.lastName="";
    this.email="";
    this.salary=0;

  }

    public PersonalInfo(int id, String firstName, String lastName, double salary, String email) {
    this.id=id;
    this.firstName=firstName;
    this.lastName=lastName;
    this.email=email;
    this.salary=salary;

  }

  public PersonalInfo(  String firstName, String lastName, double salary, String email) {
    
    this.firstName=firstName;
    this.lastName=lastName;
    this.email=email;
    this.salary=salary;

  }

  public void setFirstName(String name){
    this.firstName=name;
  }
  public void setLastName(String name){
    this.lastName=name;
  }
  public void setEmail(String email){
    this.email=email;
  }
  public void setSalary(double salary){
    this.salary=salary;
  }
  
  //
  public String getFirstName(){
    return this.firstName;
  }
  public String getLastName(){
    return this.lastName;
  }
  public String getEmail(){
     return this.email;
  }
  public double getSalary(){
    return this.salary;  
  }
}